<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
	<head>
		<title><?php echo (L("_WEB_TITLE")); ?></title>
		<meta charset="UTF-8">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<!-- intoHead  -->
		<link rel="stylesheet" type="text/css" href="<?php echo C('BOOTSTRAP');?>css/bootstrap.min.css?v=<?php echo C('VERSION');?>" />
		<link rel="stylesheet" type="text/css" href="<?php echo C('HOME_CSS');?>console.css?v=<?php echo C('VERSION');?>" />
		<script type="text/javascript" src="<?php echo C('HOME_JS');?>jquery-2.0.3.min.js?v=<?php echo C('VERSION');?>"></script>
		<script type="text/javascript" src="<?php echo C('HOME_JS');?>index.js?v=<?php echo C('VERSION');?>"></script>
		<script language="JavaScript" src="<?php echo C('LAYERUI');?>layui.js?v=<?php echo C('VERSION');?>"></script>
		<script language="JavaScript" src="<?php echo C('HOME_JS');?>function.js?v=<?php echo C('VERSION');?>"></script>
		<script>
		layui.use(['layer','form'], function(){
			var layer=layui.layer;
			var form =layui.form();
		});
		</script>
		<link rel="stylesheet" type="text/css" href="<?php echo C('HOME_CSS');?>iframe.css?v=<?php echo C('VERSION');?>" />
		<script>
			var city_url = "<?php echo C('HOME_JS');?>city.min.js";
		</script>
		<script type="text/javascript" src="<?php echo C('HOME_JS');?>jquery.cityselect.js"></script>
		<script type="text/javascript" src="<?php echo C('UPLOAD');?>jquery.form.js"></script>
		
	</head>
<style type="text/css">
	table{width:100%;}
	table td,table th{padding:6px 0px 6px 6px;background:#FFFFFF;}
	table th{text-align:center;line-height:30px;margin:5px;border-bottom:10px solid #f5f5f5;border-right:1px solid #DEDEDE;color:#3e3e3e;}
	table td{text-align:center;border-bottom:2px solid #DEDEDE;line-height:25px;}
	.spacess{color:#ccc;float:right;border-right:1px solid #DEDEDE;height:35px;}
	.opration{text-align: left !important;padding-left:30px;border-right:1px solid #DEDEDE;}
</style>
<body class="iframe-body">

 <div style="text-indent:10px;background:#EAEDF1;width:100%;position:fixed;top:0px;height:35px;line-height:35px;">
    <img style="position:relative;top:-2px;" src="<?php echo C('HOME_IMAGE');?>icon/sy_icon.png" width="15px;">
    <?php echo (L("_HOME_PAGE")); ?>
    &gt;
    <?php echo ($nav1); ?>
    &gt;
    <span style="color:#15b6be;"><?php echo ($nav2); ?></span>
    <span style="float:right;margin-right:10px;cursor:pointer;" onclick="location.reload()"><?php if((LANG_SET) == "zh-cn"): ?>刷新<?php else: ?>refresh<?php endif; ?></span>
</div>
<div class="body">
<div class="jggl_msg"><?php echo (L("ORG_PERFECT_INFO")); ?></div>
<div class="jggl_form">
	<div class="jggl_i">
		<i class="jggl_i_1">*</i>
		<span class="jggl_i_2"><?php echo (L("ORG_AREA")); ?></span>
		<span class="jggl_i_3">
		<div id="city">  
		    <select class="prov"></select>   
		    <select class="city" disabled="disabled"></select>  
		    <select class="dist" disabled="disabled"></select>  
		</div>
		</span>
	</div>
	<script type="text/javascript">
		$("#city").citySelect({prov:"北京", city:"东城区",nodata:"none"});
	</script>
	<div class="jggl_i">
		<i class="jggl_i_1">*</i>
		<span class="jggl_i_2"><?php echo (L("ORG_FULLNAME")); ?></span>
		<span class="jggl_i_3"><input id="jgqc" type="text" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1">*</i>
		<span class="jggl_i_2"><?php echo (L("ORG_LEVEL")); ?></span>
		<span class="jggl_i_3"><input id="jgdj" type="text" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1">*</i>
		<span class="jggl_i_2"><?php echo (L("ORG_PROPERTY")); ?></span>
		<span class="jggl_i_3"><input id='jgxz' type="text" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1">*</i>
		<span class="jggl_i_2"><?php echo (L("ORG_ECONOMY_TYPE")); ?></span>
		<span class="jggl_i_3" style="width:800px">
			<ul class="jggl_i_ul">
				<li class="active"><?php echo (L("ORG_ECONOMY_1")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_2")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_3")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_4")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_5")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_6")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_7")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_8")); ?></li>
				<li><?php echo (L("ORG_ECONOMY_9")); ?></li>
			</ul>
		</span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1"></i>
		<span class="jggl_i_2"><?php echo (L("ORG_WEB")); ?></span>
		<span class="jggl_i_3"><input id="jggw" type="text" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1"></i>
		<span class="jggl_i_2"><?php echo (L("ORG_CONTACTS")); ?></span>
		<span class="jggl_i_3"><input id='lxr' type="text" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1"></i>
		<span class="jggl_i_2"><?php echo (L("ORG_TELL")); ?></span>
		<span class="jggl_i_3"><input id='lxdh' type="email" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1"></i>
		<span class="jggl_i_2"><?php echo (L("ORG_EMAIL")); ?></span>
		<span class="jggl_i_3"><input id='lxyx' type="phone" class="form-control"></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1"></i>
		<span class="jggl_i_2"><?php echo (L("ORG_INTRO")); ?></span>
		<span class="jggl_i_3"><textarea id='jgjj' type="text" class="form-control"></textarea></span>
	</div>
	<div class="jggl_i">
		<i class="jggl_i_1"></i>
		<span class="jggl_i_2"><?php echo (L("ORG_REMARK")); ?></span>
		<span class="jggl_i_3"><input id='bz' type="text" class="form-control"></span>
	</div>
	<div>
		<button type="button" url="<?php echo U('Jggl/jg_info',array('nav'=>$active1,'child_nav'=>11));?>" class="btn btn-primary"><?php echo (L("_SAVE")); ?></button>
	</div>
</div>
</div>
<script>
	$('.jggl_i_ul li').each(function(){
		$(this).click(function(){
			var type = $(this).attr('type');
			$(this).siblings().removeClass('active');
			$(this).addClass('active');
		})
	})
	$('.btn').click(function(){
			var prov = $('.prov').val();
			var city = $('.city').val();
			var dist = $('.dist').val();
			var jgqc = $('#jgqc').val();
			var jgdj = $('#jgdj').val();
			var jgxz = $('#jgxz').val();
			if(!jgqc){
				parent.layer.msg('<?php echo (L("ORG_INPUT_FULLNAME")); ?>');
				return false;
			}
			if(!jgdj){
				parent.layer.msg('<?php echo (L("ORG_INPUT_LEVEL")); ?>');
				return false;
			}
			if(!jgxz){
				parent.layer.msg('<?php echo (L("ORG_INPUT_PROPERTY")); ?>');
				return false;
			}
			var jjlx = $('.jggl_i_ul .active').text();
			var jggw = $('#jggw').val();
			var lxr  = $('#lxr').val();
			var lxdh = $('#lxdh').val();
			var lxyx = $('#lxyx').val();
			var jgjj = $('#jgjj').val();
			var bz   = $('#bz').val();
			var data = {
					prov:prov,city:city,dist:dist,jgqc:jgqc,jgdj:jgdj,jgxz:jgxz,jjlx:jjlx,
					jggw:jggw,lxr:lxr,lxdh:lxdh,lxyx:lxyx,jgjj:jgjj,bz:bz
			}
			var url = "<?php echo U('Jggl/jg_create');?>";
			var redirect_url = $(this).attr('url');
			$.post(url,data,function(res){
				if(res.code==1){
					parent.layer.msg('<?php echo (L("_SUCCESS")); ?>',{time:2000},function(){
						window.location.href=redirect_url
					});
				}else{
					parent.layer.msg(res.result.msg);
				}
			})
		})
</script>
		<!-- <div class="aliyun-console-sidebar-tooltip right fade in" title="" content="云服务器ECS&nbsp;" style="top: 120px; left: 50px; display: block;">
			<div class="tooltip-arrow"></div>
			<div class="tooltip-inner ng-binding">云服务器ECS&nbsp;</div>
		</div> -->
	</body>
</html>